import { createApp } from 'vue';
import { createPinia } from "pinia";
import App from './App.vue';
import './assets/global.less';
import '@/assets/style.css'
import 'ant-design-vue/dist/reset.css'
import components from './components/global';
import Router from './router/index';
import Antd from 'ant-design-vue'

const app = createApp(App)
const pinia = createPinia()


app.use(Antd)
app.use(pinia)
//components
for (const i in components) {
  app.component(i, components[i])
}

app.use(Router).mount('#app')
